chore(dev-tooling): adopt canonical Bun+TS baseline#7
Merged
Conversation
Per ~/toolbox/docs/dev-tooling-baseline.md (D1-D7): - Add packageManager (bun@1.3.14) + engines.node (>=24.0.0) declarations - Migrate bun-types -> @types/bun + tsconfig types: ["bun"] - Add eslint.config.js (flat, untyped recommended + argsIgnorePattern ^_) - Add .prettierrc (defaults) + .prettierignore (.adv/, .opencode/, bun.lock, docs/) - Add canonical scripts: lint, lint:fix, format, format:check, check - Update ci script to call bun run check - Fix 6 pre-existing lint errors (unused imports, constant-condition, unnecessary escape) - Reformat existing source files with prettier defaults (baseline adoption) Verified: bun run check passes (typecheck + lint + format:check + test 137/137) Refs: optimizeBunTsDevToolingV4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Per
~/toolbox/docs/dev-tooling-baseline.md(D1-D7) — first repo migrated as part ofoptimizeBunTsDevToolingV4ADV change (smallest-first phasing).Changes
packageManager: bun@1.3.14,engines.node: ">=24.0.0"bun-types→@types/bun+ tsconfigtypes: ["bun"](per Bun docs 2026 + DefinitelyTyped PR #67827 shim transition)@eslint/js+typescript-eslintrecommended +eslint-config-prettier(untyped baseline; typed linting opt-in per-repo).prettierrc: {});.prettierignoreexcludes.adv/,.opencode/,bun.lock,docs/typecheck,lint,lint:fix,format,format:check,check(aggregate);cinow callsbun run checkExecuteMorphEditArgs,FailureKind,statSync)originalCodein test)true &&in NaN-threshold testscrubSecretsREADME.md,instructions/morph-tools.md,src/{constants,execute,imports}.ts,index.{ts,test.ts})Verification
Avoidances honored
bun test(not migrated to Vitest)recommendedTypeCheckedopt-in for future)Refs
optimizeBunTsDevToolingV4(proposal/discovery/design/prep approved)~/toolbox/docs/dev-tooling-baseline.md